import request from "@/router/axios";
// 车队车辆

export const getPage = (page, params) => {
  return request({
    url: "/admin/teamshortcredit/page",
    method: "get",
    params: {
      ...page,
      ...params,
    },
  });
};

export const monthlyLimitSetting = (form) => {
  return request({
    url: "/admin/teamshortcredit/update",
    method: "post",
    data: {
      ...form,
    },
  });
};
export const remove = (id) => {
  return request({
    url: "/admin/teamshortcredit/remove",
    method: "post",
    params: {
      ids: id,
    },
  });
};
